package com.lframework.xingyun.promo.service.limitprice;

import com.lframework.starter.web.core.service.BaseMpService;
import com.lframework.starter.web.core.components.resp.PageResult;
import com.lframework.xingyun.promo.entity.MarketingLimitprice;
import com.lframework.xingyun.promo.vo.limitprice.CreateMarketingLimitpriceVo;
import com.lframework.xingyun.promo.vo.limitprice.QueryMarketingLimitpriceVo;
import com.lframework.xingyun.promo.vo.limitprice.UpdateMarketingLimitpriceVo;

import java.util.List;

/**
 * 限时特价活动 Service
 */
public interface MarketingLimitpriceService extends BaseMpService<MarketingLimitprice> {

    /**
     * 查询列表
     * @return
     */
    PageResult<MarketingLimitprice> queryPage(Integer pageIndex, Integer pageSize, QueryMarketingLimitpriceVo vo);

    /**
     * 查询列表
     * @param vo
     * @return
     */
    List<MarketingLimitprice> queryList(QueryMarketingLimitpriceVo vo);

    /**
     * 根据ID查询
     * @param id
     * @return
     */
    MarketingLimitprice findById(String id);

    /**
     * 创建
     * @param vo
     * @return
     */
    String create(CreateMarketingLimitpriceVo vo);

    /**
     * 修改
     * @param vo
     */
    void update(UpdateMarketingLimitpriceVo vo);

}

